﻿

namespace StatePattern;

public class Context
{
    public LightBase CurrentLight { get; set; }

    public void Show()
    {
        CurrentLight.Show();
    }

    public void Turn()
    {
        CurrentLight.TurnContext(this);
    }
}
